package com.sdk.es.http.service.impl;

import com.sdk.es.http.service.ITest1Service;
import com.sdk.es.http.service.base.impl.EsBaseServiceImpl;
import com.sdk.es.sdk.constants.IndexConts;
import com.sdk.es.sdk.entity.base.Test1;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class Test1ServiceImpl extends EsBaseServiceImpl<Test1> implements ITest1Service {

    /**
     * 指定基础索引名，需要在子类复写
     */
    @Override
    protected String getEsIndex() {
        return IndexConts.TEST1;
    }
}
